package com.dgut.service.background.service;

import com.dgut.service.background.dao.ExceptionDao;
import com.dgut.service.background.entity.Exception;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

@Service
@Transactional
public class ExceptionService {
    @Autowired
    private ExceptionDao exceptionDao;

    public void SaveException(Exception e){
        exceptionDao.save(e);
    }
}
